X_INCDIRS	+= WinManager/
X_LIBS 		+= libxlibc.a libwm.a libgato.a

X_CFLAGS	+= -w

NAME		:= WinManager.xapp
SRC			+= *.c
SRC			+= drivers/*.c

define CUSTOM_TARGET_CMD
echo [APP] $@; \
$(LD) $(X_LDFLAGS) $(X_OBJS) -o $@ $(patsubst %, -L%, $(X_LIBDIRS)) \
	--start-group $(patsubst %, -l:%, $(X_LIBS)) --end-group; \
$(STRIP)  $@
endef
